#pragma once
#include "hHuffmanDefine.h"
#include <map>

struct HuffmanCode
{
	std::map<char, size_t> _charTab = { {'a', 45}, {'b', 13}, {'c', 12}, {'d', 16}, {'e', 9}, {'f', 5} };
	_hHuffmanDetail::Node* _pTreeNode = NULL;

	void genTree();
	void showTree();
};